backend-tests:
	docker compose -f ./backend/docker-compose.dev.yml up --build --abort-on-container-exit

dev:
	docker compose -f docker-compose.dev.yml up --build

bash-backend-dev:
	docker compose -f docker-compose.dev.yml exec backend bash

move-migrations-dev:
	docker compose -f docker-compose.dev.yml cp backend:/app/recruit/adapter/database/migrations/versions ./backend/recruit/adapter/database/migrations

create-migration-dev:
	docker compose -f docker-compose.dev.yml exec backend alembic revision --autogenerate

migration-dev:
	docker compose -f docker-compose.dev.yml exec backend alembic upgrade head

build:
	docker compose -f docker-compose.yml build

run:
	docker compose -f docker-compose.yml up

backend-migration:
	docker compose -f docker-compose.yml exec backend alembic upgrade head
